/*
 * @Description: 
 * @Author: liyuhao
 * @Date: 2021-08-06 14:28:17
 * @LastEditors: liyuhao
 * @LastEditTime: 2021-10-12 17:31:50
 */
import { MuseumLevelEnum, MuseumTypeEnum } from './enum'
import CreateEnumMap from '@/utils/CreateEnumMap'

export const MuseumLevelMap = CreateEnumMap([
  {
    id: MuseumLevelEnum.NotRated,
    name: '未评级'
  },
  {
    id: MuseumLevelEnum.One,
    name: '一级'
  },
  {
    id: MuseumLevelEnum.Two,
    name: '二级'
  },
  {
    id: MuseumLevelEnum.Three,
    name: '三级'
  },
  {
    id: MuseumLevelEnum.Four,
    name: '四级'
  },
  {
    id: MuseumLevelEnum.Five,
    name: '五级'
  }
])

export const MuseumTypeMap = CreateEnumMap([
  {
    id: MuseumTypeEnum.History,
    name: '历史类'
  },
  {
    id: MuseumTypeEnum.Art,
    name: '艺术类'
  },
  {
    id: MuseumTypeEnum.NaturalScience,
    name: '自然、科学类'
  },
  {
    id: MuseumTypeEnum.Comprehensive,
    name: '综合类'
  },
  {
    id: MuseumTypeEnum.Unknown,
    name: '未知'
  },
  {
    id: MuseumTypeEnum.CulturalRelic,
    name: '文物'
  },
  {
    id: MuseumTypeEnum.Industry,
    name: '行业'
  },
  {
    id: MuseumTypeEnum.NonState,
    name: '非国有'
  }
])